package inutan.common.config;

import org.ricks.common.conf.RicksPropertiesLoader;

public class GatewayConfig {

    public static final short BROKER_ID = RicksPropertiesLoader.toShort("broker.id");
    public static final String BROKER_INNER_HOST = RicksPropertiesLoader.get("broker.inner.host");
    public static final int BROKER_INNER_PORT = RicksPropertiesLoader.toIntOrDefault("broker.inner.port", 25152);
    public static final String BROKER_EXTERNAL_HOST = RicksPropertiesLoader.get("broker.external.host");
    public static final int BROKER_EXTERNAL_PORT = RicksPropertiesLoader.toIntOrDefault("broker.external.port", 55555);

    public static final String GAME_ENV = RicksPropertiesLoader.getOrDefault("game.env","test");
}
